# 测试文档，没有作用

import redis
r = redis.Redis(host='47.98.50.245', port=6379, password='root')
for i in range(2, 900):
    r.lpush("getText:start_urls", "http://book.zongheng.com/store/c0/c0/b0/u5/p{}/v0/s9/t0/u0/i1/ALL.html".format(i))
#
# word = '末日'
# s2 = bytes(word, encoding='utf-8')
# data = r.smembers(s2)
# print(data)
# for i in data:
#     print(str(i, encoding="utf-8"))
